package com.cmict.data.infra.convert.consultcategory;

import java.util.*;

import com.cmict.data.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.cmict.data.infra.controller.admin.consultcategory.vo.*;
import com.cmict.data.infra.dal.dataobject.consultcategory.ConsultCategoryDO;

/**
 * 问答分类 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface ConsultCategoryConvert {

    ConsultCategoryConvert INSTANCE = Mappers.getMapper(ConsultCategoryConvert.class);

    ConsultCategoryDO convert(ConsultCategoryCreateReqVO bean);

    ConsultCategoryDO convert(ConsultCategoryUpdateReqVO bean);

    ConsultCategoryRespVO convert(ConsultCategoryDO bean);

    List<ConsultCategoryRespVO> convertList(List<ConsultCategoryDO> list);

    PageResult<ConsultCategoryRespVO> convertPage(PageResult<ConsultCategoryDO> page);

    List<ConsultCategoryExcelVO> convertList02(List<ConsultCategoryDO> list);

}
